<?php
/**
 * +----------------------------------------------------------------------
 * | summer framework
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020 https://github.com/suframe/think-admin All rights reserved.
 * +----------------------------------------------------------------------
 * | Author: summer <806115620@qq.com>  2020/3/30 13:55
 * +----------------------------------------------------------------------
 */

namespace app\mall\enum;


class OpsEnum extends Base
{

    private const LT = '<';
    private const LTE = '<=';
    private const EQ = '=';
    private const GT = '>';
    private const GTE = '>=';
    private const NEQ = '!=';
    private const IN = 'in';
    private const NOT_IN = 'not_in';

    public static function toZhArray(): array
    {
        return [
            self::LT => '小于',
            self::LTE => '小于等于',
            self::EQ => '等于',
            self::GT => '大于',
            self::GTE => '大于等于',
            self::NEQ => '不等于',
            self::IN => '包含',
            self::NOT_IN => '不包含',
        ];
    }

}